package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.WmNewsDto;
import com.heima.model.wemedia.dtos.WmNewsPageReqDto;
import com.heima.model.wemedia.pojos.WmNews;

/**
 * @author: zhk
 * @since: 2025/7/4
 */

public interface WmNewsService extends IService<WmNews> {
    ResponseResult lists(WmNewsPageReqDto wmNewsPageReqDto);

    void submit(WmNewsDto wmNewsDto);

    WmNews selectOne(Long id);
}
